package com.wxzz.elearing.comment.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wxzz.elearning.common.bean.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class CommunityQuestionsAnswersListVo extends BaseEntity {

    @ApiModelProperty(value = "问答发布人")
    private String publishPerson;

    @ApiModelProperty(value = "问答发布人id")
    private Long publishPersonId;

    @ApiModelProperty(value = "头像")
    private String icon;

    @ApiModelProperty(value = "文章类型")
    private Integer titleType;

    @ApiModelProperty(value = "问答内容")
    private String publishContent;

//    @ApiModelProperty(value = "图片地址 多个用,分隔")
//    private String publishImageUrl;

    @ApiModelProperty(value = "赏金")
    private BigDecimal moneyReward = new BigDecimal("0.00");

    @ApiModelProperty(value = "是否已被领取  0-否 1-是")
    private Integer isGet;

    @ApiModelProperty(value = "是否已采纳答案  0-否 1-是")
    private Integer isAccept;

    @ApiModelProperty(value = "已采纳的评论id")
    private String acceptId;

    @ApiModelProperty(value = "点赞数量")
    private Integer giveLikeCount;

    @ApiModelProperty(value = "回答数量")
    private Long answersCount;

    @ApiModelProperty(value = "热度")
    private Integer heatCount;

    @ApiModelProperty(value = "图片地址 数组")
    @TableField(exist = false)
    private List<String> publishImageUrlList;

    @ApiModelProperty(value = "状态 0 下架 1 上架")
    @TableField(exist = false)
    private Integer status;
}